<template>
  <div>
    <input :value="value" type="text" @input="inpChange" />
    <slot></slot>
  </div>
</template>

<script>
export default {
  props: ["value"],
  data() {
    return {};
  },
  methods: {
    inpChange(e) {
      this.$emit("input", e.target.value);
    },
  },
  created() {},
  mounted() {},
  components: {},
  computed: {},
  watch: {},
};
</script>

<style lang="scss" scoped></style>
